<form action="index.php" method="post" name="article_form" id="article_form">
<input type="hidden" name="function" value="{function}" />
<input type="hidden" name="id" value="{id}" />
<input type="hidden" name="code" id="code" value="3454wd" />
<input type="hidden" name="old_cat" value="{cat}" />
<input type="hidden" name="module" value="article" />
<?if($_GET['action']!='suggest') {?>
<input type="hidden" name="redirect" value="<?echo($_SERVER['HTTP_REFERER']);?>" />
<?}?>

<table align="center" width="100%" border="0" class="tabelka2">
<tr>
     <td class="row_3" align="center" width=80><?echo($lang['admin_date']);?></td>
	 <td class="row_3" align="left"><input type="text" maxlength="30" name="date" value="{c_date}" class="button" size="20" />&nbsp;-&nbsp;{ldate}</td>
</tr>
<tr>
     <td class="row_2" align="left" colspan="2">{multi}</td>
</tr>
<tr>
     <td class="row_1" align="center"><?echo($lang['admin_author']);?></td>
	 <td class="row_1" align="left"><select name="author" class="button">{c_author}</select>
	 <br /> <input type="text" name="s_author" size="10" class="button" onkeyup="javascript:findInSelect(this.form.s_author.value, this.form.author, 0);" /> <input type="button" onclick="javscript:resetSelect(this.form.author, 0); this.form.s_author.value='';" class="button" value="<?echo($lang['reset']);?>" /></td>
</tr>
<tr>
     <td class="row_2" align="center"><?echo($lang['admin_category']);?></td>
	 <td class="row_2" align="left"><select name="category" class="button">
     <option value="0"><?echo($lang['none']);?></option>
     {c_category}
      </select>
	 <br /> <input type="text" name="s_category" size="10" class="button" onkeyup="javascript:findInSelect(this.form.s_category.value, this.form.category, 1);" /> <input type="button" onclick="javscript:resetSelect(this.form.category, 1); this.form.s_category.value='';" class="button" value="<?echo($lang['reset']);?>" /> </td>
</tr>
<?if($_GET['action']!='suggest') {?>
<tr>
	<td class="row_1" align="center"><?echo($lang['admin_visible']);?></td>
    <td class="row_1"><input type="checkbox" value="1" name="visible" class="radio" {checked} /></td>
</tr>
<?}?>
<tr>
	 <td></td>
     <td><input type="button" value="<?echo($lang['submit']);?>" class="button" id="article_submit" onclick="document.getElementById('article_form').action='index.php'; getCode('code', 'article_form', 'article_submit');" /></td>
</tr>
</table>
</form>
